package com.yunbiji.demo.dao;

import com.yunbiji.demo.entity.CnNotebook;
import com.yunbiji.demo.entity.CnUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface CnRelationDao {
    //关联多个对象
     CnUser findUserAndBooks(String cnUserId);
     CnUser findUserAndBooks1(String cnUserId);
    //关联单个对象
     List<CnNotebook> findBookAndUser();

}
